package com.designpattern.structure.bridge;

import lombok.extern.slf4j.Slf4j;

/**
 * @author chengze
 * @date 2022/11/28
 * @desc 主类
 */
@Slf4j
public class MainBiz {
    private Biz biz;

    public MainBiz(Biz biz) {
        this.biz = biz;
    }

    public void mainBiz(){
        log.info("调用主类");
        this.biz.biz();
    }
}
